package day_07.oop;

/**
 * @ClassName Test
 * @Description TODO
 * @Author hp
 * @Date 2021/6/10 18:27
 * @Version 1.0
 **/


    public class Test{
        static{
            int x=5;
        }
        static int x,y;
        public static void main(String args[]){
            x--;
            myMethod( );
            System.out.println(x+y+ ++x);
        }
        public static void myMethod( ){
            y=x++ + ++x;
        }
    }



